<?php
/**
* TestGuest version1.0
*===================================
* Copy 2012-2016 yc60
* Web:http://www.yc60.com
*===================================
* Author:Pan
* Date:2016-12-20
*
*/
header("Content-type:text/html;charset=utf-8");

//定义个常量，用来授权调用includes里面的文件
define('IN_TG','true');

//再定义个常量，用来指定本页的内容
define('SCRIPT','active');

//引入公共文件
require dirname(__FILE__).'/includes/commom.inc.php';
//开始激活处理
if(isset($_GET['action']) && isset($_GET['active']) && isset($_GET['action']=='ok')){
    echo '开始激活';
}

?>

<!DOCTYPE html>
<html>
<head>
  <meta charset="utf-8"/>
  <title>多用户留言系统--激活页面</title>
  <?php
     require ROOT_PATH.'includes/title.inc.php';
  ?>

  <script type="text/javascript" src="js/register.js"></script>
</head>
<body>

    <?php
        require ROOT_PATH.'includes/header.inc.php';
    ?>
    <div id="active">
        <h2>激活账户</h2>
        <p>本页面是为了模拟您的邮件的功能,以下是超级链接激活您的账户</p>
        <p>
          <a href="active.php?action=ok&amp;active=<?php echo $_GET['active']?>"> 

        	<?php echo 'http://'.$_SERVER["HTTP_HOST"].$_SERVER["PHP_SELF"]?>active.php?action=ok&amp;<?php echo $_GET['active']?> 

          </a>
        </p>
    </div>


    <?php
       require ROOT_PATH.'includes/footer.inc.php';      
   ?>


























